layui.use(['form','element','laydate'], function(){
    var element = layui.element;
    var laydate = layui.laydate;
    var form = layui.form;


});
function formDemo(){

    //关闭弹框
    let index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
    parent.layer.close(index); //再执行关闭

    parent.refase();
}